package com.hzhk.happyrent.bean.rent;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * User: hzhk(1097282555@qq.com)
 * Date: 2017/11/22
 * Time: 17:42
 * progject: HappyRent
 * Describe： ${Describe}
 */
public class RentHeaderPagerBean extends BaseBean implements Serializable {


    /**
     * data : {"sliders":[{"id":"5","title":"租租乐首页幻灯片","attach":"http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171204/151238546050616.png","attach_url":"https://www.baidu.com/","seat":"1","status":"1","uid":"1","click_count":"0","sort":"16","created_at":"1512385462","updated_at":"1512385462","type":null,"goods_id":null},{"id":"7","title":"租租乐首页幻灯片","attach":"http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171204/151235400222901.png","attach_url":"https://www.baidu.com/","seat":"1","status":"1","uid":"1","click_count":"0","sort":"0","created_at":"1512354006","updated_at":"1512354006","type":null,"goods_id":null},{"id":"9","title":"圣诞banner","attach":"http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171218/151358500561121.jpg","attach_url":"https://www.baidu.com/","seat":"1","status":"1","uid":"1","click_count":"0","sort":"0","created_at":"1513585011","updated_at":null,"type":null,"goods_id":null}]}
     */

    @SerializedName("errCode")
    private int errCode;
    @SerializedName("message")
    private String message;
    @SerializedName("time")
    private int time;

    public int getErrCode() {
        return errCode;
    }

    public void setErrCode(int errCode) {
        this.errCode = errCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }
    @SerializedName("data")
    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        @SerializedName("sliders")
        private List<SlidersBean> sliders;

        public List<SlidersBean> getSliders() {
            return sliders;
        }

        public void setSliders(List<SlidersBean> sliders) {
            this.sliders = sliders;
        }

        public static class SlidersBean {
            /**
             * id : 5
             * title : 租租乐首页幻灯片
             * attach : http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171204/151238546050616.png
             * attach_url : https://www.baidu.com/
             * seat : 1
             * status : 1
             * uid : 1
             * click_count : 0
             * sort : 16
             * created_at : 1512385462
             * updated_at : 1512385462
             * type : null
             * goods_id : null
             */

            @SerializedName("id")
            private String id;
            @SerializedName("title")
            private String title;
            @SerializedName("attach")
            private String attach;
            @SerializedName("attach_url")
            private String attachUrl;
            @SerializedName("seat")
            private String seat;
            @SerializedName("status")
            private String status;
            @SerializedName("uid")
            private String uid;
            @SerializedName("click_count")
            private String clickCount;
            @SerializedName("sort")
            private String sort;
            @SerializedName("created_at")
            private String createdAt;
            @SerializedName("updated_at")
            private String updatedAt;
            @SerializedName("type")
            private String type;
            @SerializedName("goods_id")
            private String goodsId;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getAttach() {
                return attach;
            }

            public void setAttach(String attach) {
                this.attach = attach;
            }

            public String getAttachUrl() {
                return attachUrl;
            }

            public void setAttachUrl(String attachUrl) {
                this.attachUrl = attachUrl;
            }

            public String getSeat() {
                return seat;
            }

            public void setSeat(String seat) {
                this.seat = seat;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getClickCount() {
                return clickCount;
            }

            public void setClickCount(String clickCount) {
                this.clickCount = clickCount;
            }

            public String getSort() {
                return sort;
            }

            public void setSort(String sort) {
                this.sort = sort;
            }

            public String getCreatedAt() {
                return createdAt;
            }

            public void setCreatedAt(String createdAt) {
                this.createdAt = createdAt;
            }

            public String getUpdatedAt() {
                return updatedAt;
            }

            public void setUpdatedAt(String updatedAt) {
                this.updatedAt = updatedAt;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getGoodsId() {
                return goodsId;
            }

            public void setGoodsId(String goodsId) {
                this.goodsId = goodsId;
            }
        }
    }
}
